package com.fortune.dal.dao;

import com.fortune.dal.model.TradeQuery;

import java.util.List;

public interface TradeQueryDAO {

    void insert(TradeQuery tradeQuery) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(TradeQuery tradeQuery) throws Exception;

    List<TradeQuery> queryByModel(TradeQuery tradeQuery) throws Exception;

    TradeQuery queryById(Integer id) throws Exception;

}
